ParameterFieldDefinitions Collection

The ParameterFieldDefinitions Collection is a collection of parameter fields in the report. If the report contains any subreports, parameter fields in the subreports will also be included in the collection. Access a specific ParameterFieldDefinition Object, in the collection by using the Item property.

ParameterFieldDefinitions Collection Properties

Property Description Read/Write

Application

Returns a reference to the Application Object, that this object is associated with.

Read only

Count

Returns the number of parameter fields in the collection.

Read only

Item

Returns ParameterFieldDefinition Object, in a collection. This property has two parameters: Index and ReportName (optional). The index can be numeric (1-based): for example, Item(1). When a numeric index is used, the items in the collection are indexed in the order that they were added to the report followed by the parameter fields from any subreport, in the same order. The second parameter is not necessary if a numeric index is used. The index can also be a string, representing the parameter name. If the report name is not included, the parameter field is assumed to be in the primary report. If the parameter field exists in a subreport, you must also pass the subreport name as the second parameter for Item.

Read only

Parent

Reference to the Parent object (Report Object).

Read only

Report

Reference to Report Object.

Read only

Remarks

Instead of using the Item property as shown, you can reference a parameter field directly (for example, ParameterFieldDefinitions(1)).

PrinterInfo Object

The PrinterInfo Object provides properties for retrieving information and setting options for the specified printer used to print a report (that is, driver name, port name, etc.). A PrinterInfo Object is obtained from the PrinterInfo property of the Report Object.

PrinterInfo Object Properties

Property Description Read/Write

Application

Returns a reference to the Application Object, that this object is associated with.

Read only

DriverName

Returns the name of the printer driver for the printer that is selected in the report. If the default printer is used, no data is returned.

Read only

Parent

Reference to the Parent object (Report Object).

Read only

PortName

Returns the name of the printer port. If the default printer is used, no data is returned.

Read only

PrinterName

Returns the name of the printer. If the default printer is used, no data is returned.

Read only

Report

Reference to Report Object.

Read only



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com